package cloudbus

var (
	StaticCloudBusGlobalProperty = &CloudBusGlobalProperty{
		UnitTestOn:          false,
		MessageLogFilterAll: true,
		MessageLog:          "",
		HttpAlways:          false,
		HttpPort:            8080,
		HttpContextPath:     "/zstack",
		SyncCallTimeout:     900000,
	}
)

type CloudBusGlobalProperty struct {
	UnitTestOn          bool   // @GlobalProperty(name = "unitTestOn", defaultValue = "false")
	MessageLogFilterAll bool   // @GlobalProperty(name="CloudBus.messageLogFilterAll", defaultValue = "true")
	MessageLog          string // @GlobalProperty(name="CloudBus.messageLog")
	HttpAlways          bool   // @GlobalProperty(name="CloudBus.alwaysUseHttp", defaultValue = "false")
	HttpPort            int    // @GlobalProperty(name="CloudBus.httpPort", defaultValue = "8080")
	HttpContextPath     string // @GlobalProperty(name="CloudBus.httpContextPath", defaultValue = "/zstack")
	SyncCallTimeout     int64  // @GlobalProperty(name="Cloudbus.syncCallTimeout", defaultValue = "900000")
}
